package com.im.common;

/**
 * @Created leijun
 * @Date 2021/10/10 10:26 上午
 */
public class SessionInfo {

    private String token;

    private Long timestamp;

    private String channelId;

    private Long authTimestamp;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public String getChannelId() {
        return channelId;
    }

    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }

    public Long getAuthTimestamp() {
        return authTimestamp;
    }

    public void setAuthTimestamp(Long authTimestamp) {
        this.authTimestamp = authTimestamp;
    }

    @Override
    public String toString() {
        return "SessionInfo{" +
                "token='" + token + '\'' +
                ", timestamp=" + timestamp +
                ", channelId='" + channelId + '\'' +
                ", authTimestamp=" + authTimestamp +
                '}';
    }
}
